﻿<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>
        蓝灵儿
    </title>
    <link href="/_css/bootstrap.min.css" rel="stylesheet" />
    <link href="/_css/bootstrap-datetimepicker.min.css" rel="stylesheet" />
    <link href="/_css/sort.css" rel="stylesheet" type="text/css" />
    <link href="/_css/common.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="/_css/iconfont.css" />
    <style>
        body {
            margin: 0 auto;
            height: 100%;
            background: #00AEEF;
        }

        html, body, input, ul, li, div, span, label {
            font-size: 9pt;
            border: 0;
            margin: 0;
            padding: 0;
        }

        .form-group {
            margin-bottom: 10px;
        }

        .header {
            margin: 10px 0 10px 15px;
        }

        #Top {
            background-color: #09C;
            font-size: 14px;
            font-family: 'Microsoft YaHei';
            display: none;
            height: 50px;
            color: #FFF;
        }

            #Top a {
                text-decoration: none;
                color: #fff;
                text-align: center;
                line-height: 50px;
                display: inline-block;
            }

                #Top a:hover, #Top a:active, #Top a:visited, #Top a:focus {
                    text-decoration: none;
                    background-color: #008fbf;
                    color: #fff;
                }

        #Left {
            float: left;
            width: 187px;
            display: none;
            background-color: black;
        }

        #Content {
            margin-left: 187px;
            display: none;
            overflow-y: auto;
            overflow-x: hidden;
            background-color: white;
        }

        .EntityLinkContent {
            display: none;
            text-align: center;
        }

        #BackGroundMessage {
            /*background-color:black;*/
        }


        ul {
            display: block;
            margin: 0;
            padding: 0;
            list-style: none;
        }

        li {
            display: block;
            margin: 0;
            padding: 0;
            list-style: none;
        }

        img {
            border: 0;
        }

        dl, dt, dd > span {
            margin: 0;
            padding: 0;
            display: block;
        }

        .EntityLinkContainer, .FormContainer {
            width: 100%;
            height: 100%;
        }

        #Left a, a:focus {
            text-decoration: none;
            color: #FFFFFF;
            outline: none;
            blr: expression(this.onFocus=this.blur());
        }

        a:hover {
            color: #FFFFFF;
            text-decoration: none;
        }

        table {
            border-collapse: collapse;
            border-spacing: 0;
        }

        cite {
            font-style: normal;
        }

        h2 {
            font-weight: normal;
        }

        .topbar-left a {
            float: left;
            height: 50px;
        }

        .topbar-right {
            float: right;
        }

            .topbar-right a {
                padding: 0 10px;
            }

        .leftmenu {
            width: 187px;
            overflow: hidden;
            height: 100%;
        }

            .leftmenu dd {
                background: #22282e;
                line-height: 35px;
                color: #FFFFFF;
                font-weight: bold;
                font-size: 14px;
                border-right: solid 1px #414D5C;
                border-bottom: solid 1px #414D5C;
            }

                .leftmenu dd span {
                    float: left;
                    margin: 10px 8px 0 12px;
                    height: 16px;
                    width: 16px;
                }

                .leftmenu dd a {
                    display: block;
                }

                    .leftmenu dd a:hover {
                        background: #414D5C;
                    }

                .leftmenu dd .menuson {
                    height: 0;
                    overflow: hidden;
                }

        .menuson {
            line-height: 30px;
            font-weight: normal;
            background: #293038;
        }

            .menuson li {
                cursor: pointer;
            }

                .menuson li:hover {
                    background: #37424F;
                }

                .menuson li.active {
                    position: relative;
                    background: #0099CC;
                    line-height: 30px;
                    color: #fff;
                }

                .menuson li span {
                    display: block;
                    float: left;
                    margin-left: 32px;
                    width: 17px;
                    height: 17px;
                    margin-top: 7px;
                }

                .menuson li a {
                    display: block;
                    *display: inline;
                    *padding-top: 5px;
                }

                .menuson li.active a {
                    color: #fff;
                }

        #LookupListContainer {
            height: 420px;
            width: 558px;
            overflow: auto;
            margin-top: 8px;
            border: 1px solid #e1e6eb;
        }

        #LookupListContainer-title {
            position: relative;
            z-index: 1;
        }

        #LookupListContainer-body {
            position: relative;
        }

            #LookupListContainer-title .table, #LookupListContainer-body .table {
                margin: 0;
                border: none;
            }

        .control-label {
            margin-right: 0px;
            vertical-align: middle;
            display: inline-block;
            height: 32px;
            line-height: 32px;
            white-space: nowrap;
            -moz-text-overflow: ellipsis;
            text-overflow: ellipsis;
            overflow: hidden;
        }

        label {
            padding-right: 0 !important;
        }
    </style>
    <script>
                                                    //表单名称
                                                    var EntityName='tlm_flowertype';
                                                    var EntityDisplayName='花型'
                                                    var Prefix='tlm'

                                                    //表单ID
                                                var FormId='c3ec1a40-5abd-406a-bec5-7baed9f55df9';

                                                    //表单数据
                                                    var XFormData={"tlm_flowertypeid":"c3ec1a40-5abd-406a-bec5-7baed9f55df9","tlm_name":"XL001","createdon":"2016-07-26 15:44:50","createdby":{"Id":"05e3362c-860e-411c-a1dc-32330b61b632","Name":"超级管理员1","EntityName":"SystemUser"},"modifiedon":"2016-08-02 09:57:44","modifiedby":{"Id":"05e3362c-860e-411c-a1dc-32330b61b632","Name":"超级管理员1","EntityName":"SystemUser"},"owninguser":{"Id":"05e3362c-860e-411c-a1dc-32330b61b632","Name":"超级管理员1","EntityName":"SystemUser"},"owningbusinessunit":{"Id":"c7fa89b6-dcf3-4e2c-9643-4ce408e849fc","Name":"图灵","EntityName":"BusinessUnit"},"deletionstatecode":0,"tlm_bottomcloth":{"Id":"fb1dc150-a932-4fcb-bbbe-c83ad7b42677","Name":"60D","EntityName":"TLM_backcloth"},"tlm_fn":"976875867","tlm_instruction":"花型 的具体说明..."};


                                //实体字段定义
                                var EntityField={"tlm_flowertypeid":{"Cansearchable":true,"DisplayName":"花型Id","Type":"key","IsNullable":false},"tlm_name":{"Cansearchable":true,"DisplayName":"花型编号","IsPrimaryAtt":true,"Length":"200","Type":"nvarchar","IsNullable":false},"createdon":{"Cansearchable":true,"DisplayName":"创建日期","Type":"datetime","IsNullable":false},"createdby":{"Cansearchable":true,"DisplayName":"创建人","LookupEntityName":"SystemUser","Type":"lookup","IsNullable":false},"modifiedon":{"Cansearchable":true,"DisplayName":"修改日期","Type":"datetime","IsNullable":false},"modifiedby":{"Cansearchable":true,"DisplayName":"修改人","LookupEntityName":"SystemUser","Type":"lookup","IsNullable":false},"owninguser":{"Cansearchable":true,"DisplayName":"负责人","LookupEntityName":"SystemUser","Type":"lookup","IsNullable":false},"owningbusinessunit":{"Cansearchable":true,"DisplayName":"业务部门","LookupEntityName":"BusinessUnit","Type":"lookup","IsNullable":false},"deletionstatecode":{"Cansearchable":true,"DisplayName":"删除标识","Type":"int","IsNullable":false},"tlm_bottomcloth":{"Cansearchable":true,"DisplayName":"底布","IsPrimaryAtt":false,"LookupEntityName":"TLM_backcloth","Type":"lookup","IsNullable":true},"tlm_fn":{"Cansearchable":true,"DisplayName":"FN","IsPrimaryAtt":false,"Length":"200","Type":"nvarchar","IsNullable":true},"tlm_instruction":{"Cansearchable":true,"DisplayName":"说明","IsPrimaryAtt":false,"Length":"500","Type":"nvarchar","IsNullable":true}};


                                //实体选项定义
                                var EntityOption={"":[]};

                                                    var Privilege={"READ":8,"WRITE":8,"CREATE":8,"DELETE":8,"ASSIGN":8};
                                                    var FunctionPrivilege=[];
                                                    var __Def=null
    </script>
</head>
<body>
    <div id="BackGroundMessage">
        <img style="margin: auto; display: block" src="/_imgs/formloading.gif" alt="aaa" />
    </div>
    <div id="Top">
        <div class="aliyun-console-topbar" data-spm="101" data-spm-max-idx="63">
            <div class="topbar-wrap topbar-clearfix">
                <div class="topbar-head topbar-left">
                    <a href="/default.aspx" target="_self" class="topbar-logo topbar-left" style="background-color: #0087b4; width: 50px;">
                        <span>
                            <img src="/_imgs/logo.gif" style="width: 35px; height: 35px" />
                        </span>
                    </a>
                    <a href="javascript:location.reload()" target="_self" class="topbar-home-link topbar-btn topbar-left" style="padding: 0 20px;">
                        <span style="font-size: 14px; font-family: 'Microsoft YaHei'" id="CurrentRecord"></span>
                    </a>
                </div>
                <div class="topbar-info topbar-right">
                    <div class="topbar-left">
                        <div class="topbar-info-item">
                            <a href="/Pages/DataPages/Form/FormPage.aspx?entityname=systemuser&id=05e3362c-860e-411c-a1dc-32330b61b632" target="_blank" id="admin" class="topbar-home-link topbar-btn topbar-left" currentuserid="05e3362c-860e-411c-a1dc-32330b61b632" currentusername="超级管理员1"><span style="font-size: 14px; font-family: 'Microsoft YaHei'">超级管理员1</span></a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div id="Left">
        <dl class="leftmenu">
            <dd>
                <div id="contentItem" class="title"><span class="glyphicon glyphicon glyphicon-th-list"></span><a id="basicForm" href="javascript:void(0);">表单信息</a></div>
            </dd>
        </dl>
    </div>
    <div id="Content" style="overflow-y: hidden">
        <div class="_FormContainer" style="overflow-y: auto; overflow-x: hidden">
            <div class="header">
                <div id="Btn_Save" class="btn btn-primary ng-binding" title="Save" onclick="SaveData('save')"><span class="glyphicon glyphicon-floppy-save"></span><span>保存</span></div>

            </div>
            <div id="FormContainer" class="row">
                <div class='col-md-6 form-group' id='c_tlm_name' atttype='nvarchar'>
                    <!--**********begin_tlm_name**********-->
                    <label for='tlm_name' class='col-md-2 control-label' title='花型编号'>花型编号</label>
                    <div class='col-md-10'>
                        <input type='input' class='form-control' id='tlm_name' attname='tlm_name' atttype='nvarchar' />
                    </div>
                    <!--**********end_tlm_name**********-->
                </div>
                <div class='col-md-6 form-group' id='c_tlm_bottomcloth' atttype='lookup'>
                    <!--**********begin_tlm_bottomcloth**********-->
                    <label for='tlm_bottomcloth' class='col-md-2 control-label' title='底布'>底布</label>
                    <div class='col-md-10'>
                        <div class='input-group'>
                            <input class='form-control' id='tlm_bottomcloth' attname='tlm_bottomcloth' type='text' atttype='lookup' etn='TLM_backcloth' oid='' disabled>
                            <span class='input-group-btn'>
                                <button class='btn btn-primary ng-binding btn-lookup' id='tlm_bottomcloth_btn' fieldid='tlm_bottomcloth' etn='TLM_backcloth' type='button'>
                                    <span class='glyphicon glyphicon-search'></span>
                                </button>
                            </span>
                        </div>
                    </div>
                    <!--**********end_tlm_bottomcloth**********-->
                </div>

                <div class='col-md-6 form-group' id='c_tlm_fn' atttype='nvarchar'>
                    <!--**********begin_tlm_fn**********-->
                    <label for='tlm_fn' class='col-md-2 control-label' title='FN'>FN</label>
                    <div class='col-md-10'>
                        <input type='input' class='form-control' id='tlm_fn' attname='tlm_fn' atttype='nvarchar' />
                    </div>
                    <!--**********end_tlm_fn**********-->
                </div>
                <div class='col-md-6 form-group' id='c_tlm_instruction' atttype='nvarchar'>
                    <!--**********begin_tlm_instruction**********-->
                    <label for='tlm_instruction' class='col-md-2 control-label' title='说明'>说明</label>
                    <div class='col-md-10'>
                        <input type='input' class='form-control' id='tlm_instruction' attname='tlm_instruction' atttype='nvarchar' />
                    </div>
                    <!--**********end_tlm_instruction**********-->
                </div>

            </div>
            <div id="LookupModal" class="modal fade in" etn="" fieldid="">
                <div class="modal-dialog">
                    <div class="modal-content">
                        <div class="modal-header">
                            <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                                <span aria-hidden="true">&times;</span>
                            </button>
                            <h4 class="modal-title">搜索:<span id="modal-title-etn"></span></h4>
                        </div>
                        <div class="modal-body" style="max-height: 500px; overflow: hidden">
                            <div class="input-group">
                                <input type="text" id="txt_lookupsearchValue" onkeypress="if(event.keyCode == 13) core.Lookup.Search();" class="form-control" placeholder="搜索内容..." />
                                <span class="input-group-btn">
                                    <button class="btn btn-primary ng-binding" type="button" onclick="core.Lookup.Search();">搜索</button>
                                </span>
                            </div>
                            <div id="LookupListContainer">
                                <div id="LookupListContainer-title">
                                    <table id="" class="table table-condensed table-hover">
                                        <colgroup></colgroup>
                                        <thead></thead>
                                    </table>
                                </div>
                                <div id="LookupListContainer-body">
                                    <table id="" class="table table-condensed table-hover">
                                        <colgroup></colgroup>
                                        <tbody></tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                        <div class="modal-footer">
                            <nav id="ListPageing" style="float: left;">
                                <ul class="pagination" style="margin: 0;">
                                    <li>
                                        <a href="javascript:void(0);" id="pageFirst" aria-label="Firset" onclick='core.Lookup.FirstPage();'>
                                            <span aria-hidden="true">&laquo;</span>
                                        </a>
                                    </li>
                                    <li>
                                        <a href="javascript:void(0);" id="pagePrevious" aria-label="Previous" onclick='core.Lookup.PrePage();'>
                                            <span aria-hidden="true">&lsaquo;</span>
                                        </a>
                                    </li>
                                    <li><span id="pageInfo">1\50</span></li>
                                    <li>
                                        <a href="javascript:void(0);" id="pageNext" aria-label="Next" onclick='core.Lookup.NextPage();'>
                                            <span aria-hidden="true">&rsaquo;</span>
                                        </a>
                                    </li>
                                    <li>
                                        <a href="javascript:void(0);" id="pageLast" aria-label="Last" onclick='core.Lookup.LastPage();'>
                                            <span aria-hidden="true">&raquo;</span>
                                        </a>
                                    </li>
                                </ul>
                            </nav>
                            <button type="button" class="btn btn-primary ng-binding" onclick="core.Lookup.SelectedLookup();"
                                    data-dismiss="modal">
                                OK
                            </button>
                        </div>
                    </div>
                    <!-- /.modal-content -->
                </div>
                <!-- /.modal-dialog -->
            </div>
        </div>
        <div class="_EntityLinkContainer" style="overflow-y: hidden">
            <iframe id="EntityLinkFrame" style="width: 100%; height: 100%; border: 0px;" name="EntityLinkFrame"></iframe>
        </div>
    </div>

    <script src="/_js/json2.js" type="text/javascript"></script>
    <script src="/_js/jquery-1.9.1.min.js"></script>
    <script src="/_js/bootstrap.min.js"></script>
    <script src="/_js/bootstrap-datetimepicker.min.js"></script>
    <script src="/_js/common.js"></script>
    <script src="/_js/Core.js"></script>
    <script src="/_js/Core.Form.js"></script>
    <script src="/_js/Core.Lookup.js"></script>

    <script>if(((function(){ return true })()) == false ? false : true){ var SaveData = function(fun){ core.Util.SaveData(fun,(null),(null)); };core.Form.ValueForm();core.Form.BindDef(); $('#Left').height($(window).height() - 50).show();$('#Content').height($(window).height() - 50).show();$('._FormContainer').height($(window).height() - 50).show();$('._EntityLinkContainer').height($(window).height() - 50).show();$('#Top').show();$('#BackGroundMessage').hide();}</script>
</body>
</html>
